/*
* FaceCat图形通讯框架
* 著作权编号:2015SR229355+2020SR0266727
* 上海卷卷猫信息技术有限公司
*/

#ifndef __LINKCONTROL__H__
#define __LINKCONTROL__H__

#include "stdafx.h"
#import "FCUIView.h"

class LinkControl : public FCView{
public:
    NSView *m_relateControl;
public:
    LinkControl();
    virtual ~LinkControl();
public:
    int m_timerID;
    String m_target;
    String m_redirectFlag1;
    FCPoint m_lastPoint;
    String m_addingTarget;
public:
    virtual void onAdd();
    virtual void onRemove();
    virtual void onTimer(int timerID);
    virtual void setAttribute(const String& name, const String& value);
    virtual void update();
public:
    static bool isInit();
    static void setInit(bool init);
};

#endif
